package cn.liit.weixin.api.basic.config;

import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

/**
 * 配置
 * @author zhangboqi
 *
 */
public class Config {
	/**
	 * 密钥
	 */
	public static final String privatekey;
	
	static{
		InputStream inputStream = Config.class.getResourceAsStream("/weixin-web.properties");
		Properties props = new Properties();
		try {
			props.load(inputStream);
		} catch (IOException e) {
			e.printStackTrace();
		}
		privatekey=props.getProperty("weixin_support_privatekey");
	}
}
